package com.chrissy.music.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chrissy.music.common.entity.SysMenu;

import java.util.Collection;
import java.util.Set;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author Johnson
 * @since 2024-01-27
 */
public interface SysMenuService extends IService<SysMenu> {

    Set<String> selectMenuPermsByRoleId(Long roleId);

    Collection<String> selectMenuPermsByUserId(Long userId);
}
